package me.jzn.core.utils;

import android.text.TextUtils;

//android.text.TextUtils
public class JoinUtil {
    private static final String DEFAULT_DELIMETER = ",";

    public static String join(Iterable<?> src) {
        return join(DEFAULT_DELIMETER, src);
    }

    public static String join(Object... src) {
        return join(DEFAULT_DELIMETER, src);
    }

    public static String join(String delimeter, Iterable<?> src) {
        return TextUtils.join(delimeter, src);
    }

    public static String join(String delimeter, Object... src) {
        return TextUtils.join(delimeter, src);
    }
}
